package com.example.userpointmgr.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("review")
@Data
@ApiModel("审核表")
public class ReviewPo {
    @TableId(value ="id",type = IdType.AUTO)
    private int id;
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("用户手机号")
    private String phoneNumber;
    @ApiModelProperty("积分内容")
    private String content;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty("创建人")
    private String createUser;
    @ApiModelProperty("是否通过")
    private int isToPass;
    @ApiModelProperty("原因")
    private String reason;
    @ApiModelProperty("是否上报公司")
    private int isReport;
}
